package com.example.f22015232.config;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

public class Test {

    public static void main(String[] args) {
        BCryptPasswordEncoder encoder = new BCryptPasswordEncoder(16);

        String result = encoder.encode("111"); // 对密码 "111" 进行加密

        System.out.println(result); // 输出加密后的密码
    }
}
